.App {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.ne-doc-major-editor {
  width: 100%;
  height: 100%;
}

.app-container {
  min-height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
}

.app-header {
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.app-header h1 {
  margin: 0;
  color: #262626;
  font-size: 24px;
  font-weight: 500;
}

.app-main {
  flex: 1;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

/* 编辑器容器样式 */
.yuque-toggle {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 确保编辑器内容区域填满容器 */
.ne-doc-major-editor,
.ne-doc-major-viewer {
  width: 100%;
  height: 100%;
  min-height: 500px;
}